package com.draemon.haixiawenti.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel("标准返回结构")
public class ResponseVO<T> {

    public final static String SUCCESS="success";

    public final static String ERROR="error";

    @ApiModelProperty("success:成功, error:失败")
    private String status = "success";

    @ApiModelProperty("失败原因")
    private String message;

    @ApiModelProperty("有效值")
    private T data;

}
